home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: Mark Nelson <markn@airmail.net>
- Newsgroups: comp.lang.c++
- Subject: Re: Help with RS-232
- Date: Thu, 29 Feb 1996 08:54:42 -0600
- Organization: customer of Internet America
- Message-ID: <3135BE32.64BC@airmail.net>
- References: <31356BB5.454A@eos.ncsu.edu>
- NNTP-Posting-Host: dal18-19.ppp.iadfw.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Ben Heard wrote:
- >
- > Does anyone have some C++ code for communicating with through an
- > RS-232 comm port. I need to be able to control the DTR, RTS, and
- > TX lines and be able to read the RX line. I don't need the program
- > to use interrupts.
-
- Yes you do! If you are running under MS-DOS, you aren't going to be
- able to have reliable communications without using an interrupt based
- driver.
-
- If you feel comfortable with Windows programming, you can get around
- this problem by using the Win API. Open your online help, search for
- OpenComm(), and then follow the links to the remaining communications
- functions.
-
- Mark Nelson
- http://web2.airmail.net/markn - Links to RS-232 programming articles
-